package org.smog.core.exception;

import lombok.Data;
import org.smog.core.config.security.SecurityConstant;

/**
 * 用户友好异常
 *
 * @Description: Created by IntelliJ IDEA.
 * @project_name: smogTemp
 * @time: 2020-05-14 11:19
 * @email: 17685306043@163.com
 * @author: huangZhongYao
 */
@Data
public class UserFriendlyException extends BaseFriendlyException {
    public UserFriendlyException(String message) {
        super(message, SecurityConstant.USER_FRIENDLY_CODE);
    }

    public UserFriendlyException(String message, int code) {
        super(message, code);
    }

    public UserFriendlyException(String message, Throwable cause) {
        super(message, cause);
    }
}
